package com.fin.quant.instra.mysql.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class DividendExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DividendExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAssetIdIsNull() {
            addCriterion("asset_id is null");
            return (Criteria) this;
        }

        public Criteria andAssetIdIsNotNull() {
            addCriterion("asset_id is not null");
            return (Criteria) this;
        }

        public Criteria andAssetIdEqualTo(Long value) {
            addCriterion("asset_id =", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotEqualTo(Long value) {
            addCriterion("asset_id <>", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdGreaterThan(Long value) {
            addCriterion("asset_id >", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdGreaterThanOrEqualTo(Long value) {
            addCriterion("asset_id >=", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdLessThan(Long value) {
            addCriterion("asset_id <", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdLessThanOrEqualTo(Long value) {
            addCriterion("asset_id <=", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdIn(List<Long> values) {
            addCriterion("asset_id in", values, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotIn(List<Long> values) {
            addCriterion("asset_id not in", values, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdBetween(Long value1, Long value2) {
            addCriterion("asset_id between", value1, value2, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotBetween(Long value1, Long value2) {
            addCriterion("asset_id not between", value1, value2, "assetId");
            return (Criteria) this;
        }

        public Criteria andFiscalYearIsNull() {
            addCriterion("fiscal_year is null");
            return (Criteria) this;
        }

        public Criteria andFiscalYearIsNotNull() {
            addCriterion("fiscal_year is not null");
            return (Criteria) this;
        }

        public Criteria andFiscalYearEqualTo(Integer value) {
            addCriterion("fiscal_year =", value, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearNotEqualTo(Integer value) {
            addCriterion("fiscal_year <>", value, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearGreaterThan(Integer value) {
            addCriterion("fiscal_year >", value, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearGreaterThanOrEqualTo(Integer value) {
            addCriterion("fiscal_year >=", value, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearLessThan(Integer value) {
            addCriterion("fiscal_year <", value, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearLessThanOrEqualTo(Integer value) {
            addCriterion("fiscal_year <=", value, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearIn(List<Integer> values) {
            addCriterion("fiscal_year in", values, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearNotIn(List<Integer> values) {
            addCriterion("fiscal_year not in", values, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearBetween(Integer value1, Integer value2) {
            addCriterion("fiscal_year between", value1, value2, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andFiscalYearNotBetween(Integer value1, Integer value2) {
            addCriterion("fiscal_year not between", value1, value2, "fiscalYear");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceIsNull() {
            addCriterion("current_price is null");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceIsNotNull() {
            addCriterion("current_price is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceEqualTo(BigDecimal value) {
            addCriterion("current_price =", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceNotEqualTo(BigDecimal value) {
            addCriterion("current_price <>", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceGreaterThan(BigDecimal value) {
            addCriterion("current_price >", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("current_price >=", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceLessThan(BigDecimal value) {
            addCriterion("current_price <", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("current_price <=", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceIn(List<BigDecimal> values) {
            addCriterion("current_price in", values, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceNotIn(List<BigDecimal> values) {
            addCriterion("current_price not in", values, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("current_price between", value1, value2, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("current_price not between", value1, value2, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareIsNull() {
            addCriterion("amount_per_share is null");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareIsNotNull() {
            addCriterion("amount_per_share is not null");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareEqualTo(BigDecimal value) {
            addCriterion("amount_per_share =", value, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareNotEqualTo(BigDecimal value) {
            addCriterion("amount_per_share <>", value, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareGreaterThan(BigDecimal value) {
            addCriterion("amount_per_share >", value, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount_per_share >=", value, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareLessThan(BigDecimal value) {
            addCriterion("amount_per_share <", value, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount_per_share <=", value, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareIn(List<BigDecimal> values) {
            addCriterion("amount_per_share in", values, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareNotIn(List<BigDecimal> values) {
            addCriterion("amount_per_share not in", values, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount_per_share between", value1, value2, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andAmountPerShareNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount_per_share not between", value1, value2, "amountPerShare");
            return (Criteria) this;
        }

        public Criteria andDividendYieldIsNull() {
            addCriterion("dividend_yield is null");
            return (Criteria) this;
        }

        public Criteria andDividendYieldIsNotNull() {
            addCriterion("dividend_yield is not null");
            return (Criteria) this;
        }

        public Criteria andDividendYieldEqualTo(BigDecimal value) {
            addCriterion("dividend_yield =", value, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldNotEqualTo(BigDecimal value) {
            addCriterion("dividend_yield <>", value, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldGreaterThan(BigDecimal value) {
            addCriterion("dividend_yield >", value, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("dividend_yield >=", value, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldLessThan(BigDecimal value) {
            addCriterion("dividend_yield <", value, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("dividend_yield <=", value, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldIn(List<BigDecimal> values) {
            addCriterion("dividend_yield in", values, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldNotIn(List<BigDecimal> values) {
            addCriterion("dividend_yield not in", values, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dividend_yield between", value1, value2, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andDividendYieldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dividend_yield not between", value1, value2, "dividendYield");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendIsNull() {
            addCriterion("annual_dividend is null");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendIsNotNull() {
            addCriterion("annual_dividend is not null");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendEqualTo(BigDecimal value) {
            addCriterion("annual_dividend =", value, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendNotEqualTo(BigDecimal value) {
            addCriterion("annual_dividend <>", value, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendGreaterThan(BigDecimal value) {
            addCriterion("annual_dividend >", value, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("annual_dividend >=", value, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendLessThan(BigDecimal value) {
            addCriterion("annual_dividend <", value, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendLessThanOrEqualTo(BigDecimal value) {
            addCriterion("annual_dividend <=", value, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendIn(List<BigDecimal> values) {
            addCriterion("annual_dividend in", values, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendNotIn(List<BigDecimal> values) {
            addCriterion("annual_dividend not in", values, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("annual_dividend between", value1, value2, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andAnnualDividendNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("annual_dividend not between", value1, value2, "annualDividend");
            return (Criteria) this;
        }

        public Criteria andExDividendDateIsNull() {
            addCriterion("ex_dividend_date is null");
            return (Criteria) this;
        }

        public Criteria andExDividendDateIsNotNull() {
            addCriterion("ex_dividend_date is not null");
            return (Criteria) this;
        }

        public Criteria andExDividendDateEqualTo(Date value) {
            addCriterionForJDBCDate("ex_dividend_date =", value, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("ex_dividend_date <>", value, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateGreaterThan(Date value) {
            addCriterionForJDBCDate("ex_dividend_date >", value, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ex_dividend_date >=", value, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateLessThan(Date value) {
            addCriterionForJDBCDate("ex_dividend_date <", value, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ex_dividend_date <=", value, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateIn(List<Date> values) {
            addCriterionForJDBCDate("ex_dividend_date in", values, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("ex_dividend_date not in", values, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ex_dividend_date between", value1, value2, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andExDividendDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ex_dividend_date not between", value1, value2, "exDividendDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateIsNull() {
            addCriterion("payment_date is null");
            return (Criteria) this;
        }

        public Criteria andPaymentDateIsNotNull() {
            addCriterion("payment_date is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentDateEqualTo(Date value) {
            addCriterionForJDBCDate("payment_date =", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("payment_date <>", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateGreaterThan(Date value) {
            addCriterionForJDBCDate("payment_date >", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("payment_date >=", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateLessThan(Date value) {
            addCriterionForJDBCDate("payment_date <", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("payment_date <=", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateIn(List<Date> values) {
            addCriterionForJDBCDate("payment_date in", values, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("payment_date not in", values, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("payment_date between", value1, value2, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("payment_date not between", value1, value2, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andFrequencyIsNull() {
            addCriterion("frequency is null");
            return (Criteria) this;
        }

        public Criteria andFrequencyIsNotNull() {
            addCriterion("frequency is not null");
            return (Criteria) this;
        }

        public Criteria andFrequencyEqualTo(String value) {
            addCriterion("frequency =", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotEqualTo(String value) {
            addCriterion("frequency <>", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyGreaterThan(String value) {
            addCriterion("frequency >", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyGreaterThanOrEqualTo(String value) {
            addCriterion("frequency >=", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyLessThan(String value) {
            addCriterion("frequency <", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyLessThanOrEqualTo(String value) {
            addCriterion("frequency <=", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyLike(String value) {
            addCriterion("frequency like", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotLike(String value) {
            addCriterion("frequency not like", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyIn(List<String> values) {
            addCriterion("frequency in", values, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotIn(List<String> values) {
            addCriterion("frequency not in", values, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyBetween(String value1, String value2) {
            addCriterion("frequency between", value1, value2, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotBetween(String value1, String value2) {
            addCriterion("frequency not between", value1, value2, "frequency");
            return (Criteria) this;
        }

        public Criteria andGrowthRateIsNull() {
            addCriterion("growth_rate is null");
            return (Criteria) this;
        }

        public Criteria andGrowthRateIsNotNull() {
            addCriterion("growth_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGrowthRateEqualTo(BigDecimal value) {
            addCriterion("growth_rate =", value, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateNotEqualTo(BigDecimal value) {
            addCriterion("growth_rate <>", value, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateGreaterThan(BigDecimal value) {
            addCriterion("growth_rate >", value, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("growth_rate >=", value, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateLessThan(BigDecimal value) {
            addCriterion("growth_rate <", value, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("growth_rate <=", value, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateIn(List<BigDecimal> values) {
            addCriterion("growth_rate in", values, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateNotIn(List<BigDecimal> values) {
            addCriterion("growth_rate not in", values, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("growth_rate between", value1, value2, "growthRate");
            return (Criteria) this;
        }

        public Criteria andGrowthRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("growth_rate not between", value1, value2, "growthRate");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioIsNull() {
            addCriterion("payout_ratio is null");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioIsNotNull() {
            addCriterion("payout_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioEqualTo(BigDecimal value) {
            addCriterion("payout_ratio =", value, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioNotEqualTo(BigDecimal value) {
            addCriterion("payout_ratio <>", value, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioGreaterThan(BigDecimal value) {
            addCriterion("payout_ratio >", value, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payout_ratio >=", value, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioLessThan(BigDecimal value) {
            addCriterion("payout_ratio <", value, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payout_ratio <=", value, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioIn(List<BigDecimal> values) {
            addCriterion("payout_ratio in", values, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioNotIn(List<BigDecimal> values) {
            addCriterion("payout_ratio not in", values, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payout_ratio between", value1, value2, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andPayoutRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payout_ratio not between", value1, value2, "payoutRatio");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIsNull() {
            addCriterion("created_at is null");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIsNotNull() {
            addCriterion("created_at is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedAtEqualTo(Date value) {
            addCriterion("created_at =", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotEqualTo(Date value) {
            addCriterion("created_at <>", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtGreaterThan(Date value) {
            addCriterion("created_at >", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("created_at >=", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtLessThan(Date value) {
            addCriterion("created_at <", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
            addCriterion("created_at <=", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIn(List<Date> values) {
            addCriterion("created_at in", values, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotIn(List<Date> values) {
            addCriterion("created_at not in", values, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtBetween(Date value1, Date value2) {
            addCriterion("created_at between", value1, value2, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
            addCriterion("created_at not between", value1, value2, "createdAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIsNull() {
            addCriterion("updated_at is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIsNotNull() {
            addCriterion("updated_at is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtEqualTo(Date value) {
            addCriterion("updated_at =", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotEqualTo(Date value) {
            addCriterion("updated_at <>", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtGreaterThan(Date value) {
            addCriterion("updated_at >", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_at >=", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtLessThan(Date value) {
            addCriterion("updated_at <", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
            addCriterion("updated_at <=", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIn(List<Date> values) {
            addCriterion("updated_at in", values, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotIn(List<Date> values) {
            addCriterion("updated_at not in", values, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtBetween(Date value1, Date value2) {
            addCriterion("updated_at between", value1, value2, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
            addCriterion("updated_at not between", value1, value2, "updatedAt");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}